]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
legacyTray: Stack tray below modal dialogs
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 19 Mar 2015 11:35:00 +0000 (12:35 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Mon, 23 Mar 2015 19:20:52 +0000 (20:20 +0100)
System modal dialogs should disable other UI while open, so make
sure the legacy tray does not appear on top of them.

https://bugzilla.gnome.org/show_bug.cgi?id=746323

js/ui/legacyTray.js

index 42927ef6df13f4836e2d8cfb46a112d1ff33881b..40b47a02a507f0907cdf20528b650fbe4ef54f1e 100644 (file)
@@ -100,6 +100,7 @@ const LegacyTray = new Lang.Class({
 
         Main.layoutManager.addChrome(this.actor, { affectsInputRegion: false });
         Main.layoutManager.trackChrome(this._slider, { affectsInputRegion: true });
+        Main.uiGroup.set_child_below_sibling(this.actor, Main.layoutManager.modalDialogGroup);
         Main.ctrlAltTabManager.addGroup(this.actor,
                                         _("Status Icons"), 'focus-legacy-systray-symbolic',
                                         { sortGroup: CtrlAltTab.SortGroup.BOTTOM });